package cn.org.eshow.bean.query;

import java.util.Date;

/**
 * 商品分类查询对象
 */
public class ProductCategoryQuery extends BaseQuery {

    public Date startAddTime;//开始添加时间
    public Date endAddTime;//结束添加时间
    public Date startUpdateTime;//开始更新时间
    public Date endUpdateTime;//结束更新时间
    public String name;// 名字
    public String description;// 描述
    public String img;// 图标
    public Integer sequence;// 排序
    public Boolean enabled;// 是否可用
    public Integer parentId;// 父类ID
    public Boolean ifFirst;//是否为一级分类

    public ProductCategoryQuery() {
        super();
    }

    public ProductCategoryQuery(Boolean enabled, Integer parentId) {
        this.enabled = enabled;
        this.parentId = parentId;
    }

    public ProductCategoryQuery(Boolean ifFirst, Boolean enabled) {
        this.ifFirst = ifFirst;
        this.enabled = enabled;
    }

    public ProductCategoryQuery(Boolean enabled) {
        this.enabled = enabled;
    }

    public Date getStartAddTime() {
        return startAddTime;
    }

    public void setStartAddTime(Date startAddTime) {
        this.startAddTime = startAddTime;
    }

    public Date getEndAddTime() {
        return endAddTime;
    }

    public void setEndAddTime(Date endAddTime) {
        this.endAddTime = endAddTime;
    }

    public Date getStartUpdateTime() {
        return startUpdateTime;
    }

    public void setStartUpdateTime(Date startUpdateTime) {
        this.startUpdateTime = startUpdateTime;
    }

    public Date getEndUpdateTime() {
        return endUpdateTime;
    }

    public void setEndUpdateTime(Date endUpdateTime) {
        this.endUpdateTime = endUpdateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Boolean getIfFirst() {
        return ifFirst;
    }

    public void setIfFirst(Boolean ifFirst) {
        this.ifFirst = ifFirst;
    }
}